'''
Author: duliang thinktanker@163.com
Date: 2024-06-25 23:07:45
LastEditors: thinktanker thinktanker@163.com
LastEditTime: 2024-06-27 00:09:23
FilePath: \webviewtest\test2.py
Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
'''
import requests

with open('./test1.jpeg', 'rb') as f:
    resp = requests.post(
        'https://cn-jn-lt-plustmp1.natfrp.cloud:14861/ocrsajj',
        files={'imgbin': f.read()},
        verify=False)
    print(resp.text)
# resp = requests.post('https://cn-jn-lt-plustmp1.natfrp.cloud:14861/ocrsajj',
#                     verify=False)
# print(resp.text)
